import Vue from 'vue'
import App from './App.vue'
//引入路由
import router from './router'
//注册全局组件
import TypeNav from '@/components/TypeNav';
import Pagination from '@/components/Pagination';
Vue.component(TypeNav.name,TypeNav);
Vue.component(Pagination.name,Pagination);
//引入仓库
import store from './store';

import '@/mock/mockServe';

import 'swiper/css/swiper.css'


Vue.config.productionTip = false
// import {getCategoryList} from './api/index'
// getCategoryList()


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
